home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / Reich-o-Matic / FluteIns.h next >
Encoding:
Text File  |  1992-07-31  |  812 b   |  30 lines

  1. #import <musickit/SynthPatch.h>
  2.  
  3. @interface FluteIns:SynthPatch
  4. {
  5.     /* Amplitude parameters. */
  6.     id        ampEnv;    /* the Envelope object for amplitude */
  7.     double    amp1,    /* amplitude scaler */
  8.             amp0,    /* amplitude offset */
  9.             ampAtt,   /* ampEnv attack duration in seconds */
  10.             ampRel;    /* ampEnv release duration in seconds */
  11. /* Other parameters. */
  12.     double    portamento; /* transition time in seconds */
  13.     double    bearing;      /* stereo location */
  14.     double    dLineLength;      /* delay line length */
  15.     double    outAmp;      /* outputAmplitude */
  16.     double delay2Length,noiseVolume;   /* embouchure delay and relative noise volume */
  17.     id delayMemory,delayMemory2;
  18. }
  19.  
  20.  
  21. + patchTemplateFor:aNote;
  22. - noteOnSelf:aNote;
  23. - noteUpdateSelf:aNote;
  24. - (double)noteOffSelf:aNote;
  25. - noteEndSelf;
  26. - preemptFor:aNote;
  27. - init;
  28.  
  29. @end
  30.